package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.ruoyi.system.domain.Zhuanjiabiandongshenbao;
import org.apache.ibatis.annotations.Param;

/**
 * 专家变动申报Mapper接口
 * 
 * @author dy
 * @date 2024-05-27
 */
public interface ZhuanjiabiandongshenbaoMapper 
{
    /**
     * 查询专家变动申报
     * 
     * @param shenbaoid 专家变动申报主键
     * @return 专家变动申报
     */
    public Zhuanjiabiandongshenbao selectZhuanjiabiandongshenbaoByShenbaoid(String shenbaoid);

    /**
     * 查询专家变动申报列表
     * 
     * @param zhuanjiabiandongshenbao 专家变动申报
     * @return 专家变动申报集合
     */
    public List<Zhuanjiabiandongshenbao> selectZhuanjiabiandongshenbaoList(Zhuanjiabiandongshenbao zhuanjiabiandongshenbao);

    /**
     * 新增专家变动申报
     * 
     * @param zhuanjiabiandongshenbao 专家变动申报
     * @return 结果
     */
    public int insertZhuanjiabiandongshenbao(Zhuanjiabiandongshenbao zhuanjiabiandongshenbao);

    /**
     * 修改专家变动申报
     * 
     * @param zhuanjiabiandongshenbao 专家变动申报
     * @return 结果
     */
    public int updateZhuanjiabiandongshenbao(Zhuanjiabiandongshenbao zhuanjiabiandongshenbao);

    /**
     * 删除专家变动申报
     * 
     * @param shenbaoid 专家变动申报主键
     * @return 结果
     */
    public int deleteZhuanjiabiandongshenbaoByShenbaoid(String shenbaoid);

    /**
     * 批量删除专家变动申报
     * 
     * @param shenbaoids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZhuanjiabiandongshenbaoByShenbaoids(String[] shenbaoids);

    public List<Map<String,Object>>selectZhuanjiaBiandongListCustom(@Param("deptid") String ppDeptId, @Param("zhuanjiamingcheng") String ppZhuanjiamingcheng, @Param("biandongleixing") String ppBiandongleixing, @Param("biandongriqikaishi") String ppBiandongriqikaishi,@Param("biandongriqijieshu") String ppBiandongriqijieshu, @Param("startindex")int ppStartIndex, @Param("pagesize")int ppPageSize);

    int countZhuanjiaBiandongListCustom(@Param("deptid") String ppDeptId,@Param("zhuanjiamingcheng") String ppZhuanjiamingcheng,@Param("biandongleixing") String ppBiandongleixing,@Param("biandongriqikaishi") String ppBiandongriqikaishi,@Param("biandongriqijieshu") String ppBiandongriqijieshu);

    Map<String,Object> selectZhuanjiaBiandongCustom(@Param("shenbaoid")String ppShenbaoId);

    public int UpdateFafangByIds(@Param("ids") List<String> ids);
}
